﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %> 
<%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="DepartmentLinkUserControl.ascx.cs" Inherits="PepsiCo.Intranet.WebParts.DepartmentLink.DepartmentLinkUserControl" %>
<style>
.spi-linkswithimages-wpbody .linkImage {
	FLOAT: left
}
.spi-linkswithimages-wpbody .linkImage IMG {
	WIDTH: 25px; PADDING-RIGHT: 10px; FLOAT: left; HEIGHT: 25px
}
.spi-linkswithimages-wpbody .linkSection {
	PADDING-BOTTOM: 10px;
	line-height:18px;
	padding: 0 0 10px 0;
}
.linkText a, .linkText a:hover, .linkText a:visited
{
    color: #30A4D9;
    font-size:12px;
    font-weight:bold;    
}
</style>



<div class="box-content">
    <table width="100%" border="0" class="spi-linkswithimages-wpbody" _moz_resizing="true">
        <tbody>
            <tr>
                <td colspan="4" style="padding-top: 2px;"></td>
            </tr>
            <tr>
                <td>
                    <asp:Repeater ID="rptLinks" runat="server">
                        <ItemTemplate>
                            <div class="linkSection spi-linkswithimages-linksection" style="width: 100%;">
                                <div class="linkImage">
                                    <asp:Image ID="imgIcon" CssClass="spi-departmentsiteinfo-img" runat="server" />
                                </div>
                                <div class="linkText">
                                    <asp:HyperLink ID="hyperLink" CssClass="ms-vb2 spi-common-link spi-linkswithimages-link" runat="server"></asp:HyperLink>
                                    <div class="ms-vb spi-common-body spi-linkswithimages-body">
                                        <asp:Literal ID="literalDescription" runat="server"></asp:Literal>
                                    </div>
                                </div>
                                <div style="clear:both;"></div>
                            </div>
                        </ItemTemplate>
                    </asp:Repeater>
                </td>
            </tr>
        </tbody>
    </table>
            
    <div class="custom-paging">
        <center>
            <table class="tbl-custom-paging" cellpadding="0" cellspacing="0">
                <tbody>
                    <tr>
                        <td valign="middle">
                            <asp:ImageButton ID="ibtnPrev" runat="server" ImageUrl="/_layouts/1033/images/prev.gif"
                                OnClick="ibtnPrev_Click" CssClass="btn-paging-prev" />
                        </td>
                        <td valign="middle">
                            <asp:Label ID="lblPage" runat="server" Text=""></asp:Label>
                        </td>
                        <td valign="middle">
                            <asp:ImageButton ID="ibtnNext" runat="server" ImageUrl="/_layouts/1033/images/next.gif"
                                OnClick="ibtnNext_Click" CssClass="btn-paging-next" />
                        </td>
                    </tr>
                </tbody>
            </table>
        </center>
    </div>
</div>